package ast.nodes.commandNodes;

import scanner.Token;
import ast.Evaluation;
import ast.nodes.CommandNode;

public class LengthNode extends CommandNode {

    public LengthNode()
    {
        super();
    }
    
    public LengthNode(Token data)
    {
        super(data);
    }
    
    /**
     *  returns the length of the given string
     *	(either from a capture group or the line itself)
     */
    @Override
    public void run(Evaluation input) {
        
    }
    
    public int valueOf(Evaluation input)
    {
        //TODO add capture group stuff
        return 0;
    }
}